﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Logoned.Master" Inherits="System.Web.Mvc.ViewPage<CourseSystem.Core.Entities.CommonResourcesInfo>" %>
<%@ Import Namespace="Chowpoo.Util" %>
<%@ Import Namespace="CourseSystem.Common.Helpers" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    <%=ResourcesHelper.GetTextByType(Model.Type) %>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
        <% Html.RenderPartial("TopUc"); %>
        <% Html.RenderPartial("NavUc", 4); %>
        <% Html.RenderPartial("ResourcesNavUc", Model.Type); %>
    </table>
    <table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td height="200" align="center" valign="top" class="contentBackImg">
                <table width="980" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td width="222" height="343" align="center" valign="top">
                            <table width="222" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td height="37" background="<%=ResolveUrl("~/Content/images/6_10.gif") %>">
                                    </td>
                                </tr>
                                <% Html.RenderAction("TreeUc", new { type = Model.Type, minType = ViewData["minType"].CheckByte(0) }); %>
                                <tr>
                                    <td height="9" background="<%=ResolveUrl("~/Content/images/3_22.jpg") %>">
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <td width="23">
                            &nbsp;
                        </td>
                        <td width="748" align="center" valign="top">
                            <table width="748" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td width="748" height="28" align="left" background="<%=ResolveUrl("~/Content/images/5_01.gif") %>">
                                        <table width="78" height="28" border="0" cellpadding="0" cellspacing="0">
                                            <tr>
                                                <td width="15">
                                                </td>
                                                <td width="63">
                                                    <div align="left">
                                                        <span class="style14">
                                                            <%=Model.Title %></span></div>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center" valign="top" background="<%=ResolveUrl("~/Content/images/5_02.gif") %>">
                                        <table width="99%" border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                                <td height="13" bgcolor="#FFFFFF" id="listDiv">
                                                     <p><%=ResourcesHelper.GetHtml(Model.FileName,Model.Type) %></p>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                <tr>
                                    <td height="3" background="<%=ResolveUrl("~/Content/images/5_04.gif") %>">
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
                <table width="1000" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td height="10">
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="HeaderContent" runat="server">
</asp:Content>
